-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Automatically adjust y-limits and y-ticks of expression plots #55
Conversation
…ults) yticks are spaced at intervals of 10^-50, no matter the size of the data
OK - First of all I love the auto-rescaling when no argument is given. 👍 My only nitpick is this doesn't sort the problem when ylim is set by the user as (say) 10 ** -172. All the ticks will be blank. But I think
This will then correctly provide the ticks spaced out by 10 ** -50, but the ylim (set elsewhere) will add some extra y-axis on top if needed to get to the users requested value ylim. This extra space will not have any minor ticks (so there will be no tick with 10 ** -172 for instance), but I don't think there needs to be - this is the expected behaviour, in my mind at least. |
Ooh, not a nitpick, a good catch! Thanks for the fix. Happy for me to merge it in after? |
Co-authored-by: neukym <[email protected]>
Yes please! |
# Conflicts: # demos/demo_plotting.ipynb
…0^{-50} Also rename "order of magnitude" to something more technically accurate.
Fixed #51.